<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
        <a :href="url">baidu</a><!--单向绑定 -->
       <input type="text" v-model="content">
   </div>
   <script>
       var app = new Vue({
           el:"#app",
           data:{
               url:'http://www.baidu.com',
               content:'vvv'
           }
           
       })
   </script>
</body>
</html>